<?php
include("includes/lib/class.xtemplate.php");
print '<?
echo "AAAAAAAAA";
print_r($arrayOtherPM);
?>';
$xtpl = new XTemplate("test.html");
$xtpl->assign("aaa",'AA');
$xtpl->parse("main");
echo $xtpl->text("main");
echo "AAAAAAAA";

?>